3.22 \(\int \frac{A+B x^2}{(d+e x^2)^2 \sqrt{a+b x^2+c x^4}} \, dx\)

Optimal. Leaf size=782 \[ \frac{A \sqrt [4]{c} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right ),\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 \sqrt [4]{a} d \sqrt{a+b x^2+c x^4} \left (\sqrt{c} d-\sqrt{a} e\right )}+\frac{\sqrt{c} x \sqrt{a+b x^2+c x^4} (B d-A e)}{2 d \left (\sqrt{a}+\sqrt{c} x^2\right ) \left (a e^2-b d e+c d^2\right )}-\frac{e x \sqrt{a+b x^2+c x^4} (B d-A e)}{2 d \left (d+e x^2\right ) \left (a e^2-b d e+c d^2\right )}-\frac{\left (B \left (c d^3-a d e^2\right )-A e \left (3 c d^2-e (2 b d-a e)\right )\right ) \tan ^{-1}\left (\frac{x \sqrt{a e^2-b d e+c d^2}}{\sqrt{d} \sqrt{e} \sqrt{a+b x^2+c x^4}}\right )}{4 d^{3/2} \sqrt{e} \left (a e^2-b d e+c d^2\right )^{3/2}}-\frac{\sqrt [4]{a} \sqrt [4]{c} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} (B d-A e) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 d \sqrt{a+b x^2+c x^4} \left (a e^2-b d e+c d^2\right )}+\frac{\left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\sqrt{a} e+\sqrt{c} d\right ) \left (B \left (c d^3-a d e^2\right )-A e \left (3 c d^2-e (2 b d-a e)\right )\right ) \Pi \left (-\frac{\left (\sqrt{c} d-\sqrt{a} e\right )^2}{4 \sqrt{a} \sqrt{c} d e};2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{8 \sqrt [4]{a} \sqrt [4]{c} d^2 e \sqrt{a+b x^2+c x^4} \left (\sqrt{c} d-\sqrt{a} e\right ) \left (a e^2-b d e+c d^2\right )} \]

[Out]

(Sqrt[c]*(B*d - A*e)*x*Sqrt[a + b*x^2 + c*x^4])/(2*d*(c*d^2 - b*d*e + a*e^2)*(Sqrt[a] + Sqrt[c]*x^2)) - (e*(B*
d - A*e)*x*Sqrt[a + b*x^2 + c*x^4])/(2*d*(c*d^2 - b*d*e + a*e^2)*(d + e*x^2)) - ((B*(c*d^3 - a*d*e^2) - A*e*(3
*c*d^2 - e*(2*b*d - a*e)))*ArcTan[(Sqrt[c*d^2 - b*d*e + a*e^2]*x)/(Sqrt[d]*Sqrt[e]*Sqrt[a + b*x^2 + c*x^4])])/
(4*d^(3/2)*Sqrt[e]*(c*d^2 - b*d*e + a*e^2)^(3/2)) - (a^(1/4)*c^(1/4)*(B*d - A*e)*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[
(a + b*x^2 + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticE[2*ArcTan[(c^(1/4)*x)/a^(1/4)], (2 - b/(Sqrt[a]*Sqrt[c
]))/4])/(2*d*(c*d^2 - b*d*e + a*e^2)*Sqrt[a + b*x^2 + c*x^4]) + (A*c^(1/4)*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a + b
*x^2 + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticF[2*ArcTan[(c^(1/4)*x)/a^(1/4)], (2 - b/(Sqrt[a]*Sqrt[c]))/4]
)/(2*a^(1/4)*d*(Sqrt[c]*d - Sqrt[a]*e)*Sqrt[a + b*x^2 + c*x^4]) + ((Sqrt[c]*d + Sqrt[a]*e)*(B*(c*d^3 - a*d*e^2
) - A*e*(3*c*d^2 - e*(2*b*d - a*e)))*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a + b*x^2 + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^
2]*EllipticPi[-(Sqrt[c]*d - Sqrt[a]*e)^2/(4*Sqrt[a]*Sqrt[c]*d*e), 2*ArcTan[(c^(1/4)*x)/a^(1/4)], (2 - b/(Sqrt[
a]*Sqrt[c]))/4])/(8*a^(1/4)*c^(1/4)*d^2*e*(Sqrt[c]*d - Sqrt[a]*e)*(c*d^2 - b*d*e + a*e^2)*Sqrt[a + b*x^2 + c*x
^4])

________________________________________________________________________________________

Rubi [A]  time = 1.4669, antiderivative size = 782, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {1696, 1714, 1195, 1708, 1103, 1706} \[ \frac{\sqrt{c} x \sqrt{a+b x^2+c x^4} (B d-A e)}{2 d \left (\sqrt{a}+\sqrt{c} x^2\right ) \left (a e^2-b d e+c d^2\right )}-\frac{e x \sqrt{a+b x^2+c x^4} (B d-A e)}{2 d \left (d+e x^2\right ) \left (a e^2-b d e+c d^2\right )}-\frac{\left (B \left (c d^3-a d e^2\right )-A e \left (3 c d^2-e (2 b d-a e)\right )\right ) \tan ^{-1}\left (\frac{x \sqrt{a e^2-b d e+c d^2}}{\sqrt{d} \sqrt{e} \sqrt{a+b x^2+c x^4}}\right )}{4 d^{3/2} \sqrt{e} \left (a e^2-b d e+c d^2\right )^{3/2}}-\frac{\sqrt [4]{a} \sqrt [4]{c} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} (B d-A e) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 d \sqrt{a+b x^2+c x^4} \left (a e^2-b d e+c d^2\right )}+\frac{\left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\sqrt{a} e+\sqrt{c} d\right ) \left (B \left (c d^3-a d e^2\right )-A e \left (3 c d^2-e (2 b d-a e)\right )\right ) \Pi \left (-\frac{\left (\sqrt{c} d-\sqrt{a} e\right )^2}{4 \sqrt{a} \sqrt{c} d e};2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{8 \sqrt [4]{a} \sqrt [4]{c} d^2 e \sqrt{a+b x^2+c x^4} \left (\sqrt{c} d-\sqrt{a} e\right ) \left (a e^2-b d e+c d^2\right )}+\frac{A \sqrt [4]{c} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 \sqrt [4]{a} d \sqrt{a+b x^2+c x^4} \left (\sqrt{c} d-\sqrt{a} e\right )} \]

Antiderivative was successfully verified.

[In]

Int[(A + B*x^2)/((d + e*x^2)^2*Sqrt[a + b*x^2 + c*x^4]),x]

[Out]

(Sqrt[c]*(B*d - A*e)*x*Sqrt[a + b*x^2 + c*x^4])/(2*d*(c*d^2 - b*d*e + a*e^2)*(Sqrt[a] + Sqrt[c]*x^2)) - (e*(B*
d - A*e)*x*Sqrt[a + b*x^2 + c*x^4])/(2*d*(c*d^2 - b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(q_))/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{A = Coeff
[P4x, x, 0], B = Coeff[P4x, x, 2], C = Coeff[P4x, x, 4]}, -Simp[((C*d^2 - B*d*e + A*e^2)*x*(d + e*x^2)^(q + 1)
*Sqrt[a + b*x^2 + c*x^4])/(2*d*(q + 1)*(c*d^2 - b*d*e + a*e^2)), x] + Dist[1/(2*d*(q + 1)*(c*d^2 - b*d*e + a*e
^2)), Int[((d + e*x^2)^(q + 1)*Simp[a*d*(C*d - B*e) + A*(a*e^2*(2*q + 3) + 2*d*(c*d - b*e)*(q + 1)) - 2*((B*d
- A*e)*(b*e*(q + 2) - c*d*(q + 1)) - C*d*(b*d + a*e*(q + 1)))*x^2 + c*(C*d^2 - B*d*e + A*e^2)*(2*q + 5)*x^4, x
])/Sqrt[a + b*x^2 + c*x^4], x], x]] /; FreeQ[{a, b, c, d, e}, x] && PolyQ[P4x, x^2] && LeQ[Expon[P4x, x], 4] &
& NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && ILtQ[q, -1]

Rule 1714

Int[(P4x_)/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With[{q = Rt[c/a, 2]
, A = Coeff[P4x, x, 0], B = Coeff[P4x, x, 2], C = Coeff[P4x, x, 4]}, -Dist[C/(e*q), Int[(1 - q*x^2)/Sqrt[a + b
*x^2 + c*x^4], x], x] + Dist[1/(c*e), Int[(A*c*e + a*C*d*q + (B*c*e - C*(c*d - a*e*q))*x^2)/((d + e*x^2)*Sqrt[
a + b*x^2 + c*x^4]), x], x]] /; FreeQ[{a, b, c, d, e}, x] && PolyQ[P4x, x^2, 2] && NeQ[b^2 - 4*a*c, 0] && NeQ[
c*d^2 - b*d*e + a*e^2, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a] &&  !GtQ[b^2 - 4*a*c, 0]

Rule 1195

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, -Simp[
(d*x*Sqrt[a + b*x^2 + c*x^4])/(a*(1 + q^2*x^2)), x] + Simp[(d*(1 + q^2*x^2)*Sqrt[(a + b*x^2 + c*x^4)/(a*(1 + q
^2*x^2)^2)]*EllipticE[2*ArcTan[q*x], 1/2 - (b*q^2)/(4*c)])/(q*Sqrt[a + b*x^2 + c*x^4]), x] /; EqQ[e + d*q^2, 0
]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]

Rule 1708

Int[((A_.) + (B_.)*(x_)^2)/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With
[{q = Rt[c/a, 2]}, Dist[(A*(c*d + a*e*q) - a*B*(e + d*q))/(c*d^2 - a*e^2), Int[1/Sqrt[a + b*x^2 + c*x^4], x],
x] + Dist[(a*(B*d - A*e)*(e + d*q))/(c*d^2 - a*e^2), Int[(1 + q*x^2)/((d + e*x^2)*Sqrt[a + b*x^2 + c*x^4]), x]
, x]] /; FreeQ[{a, b, c, d, e, A, B}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && NeQ[c*d^2
- a*e^2, 0] && PosQ[c/a] && NeQ[c*A^2 - a*B^2, 0]

Rule 1103

Int[1/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, Simp[((1 + q^2*x^2)*Sqrt[(
a + b*x^2 + c*x^4)/(a*(1 + q^2*x^2)^2)]*EllipticF[2*ArcTan[q*x], 1/2 - (b*q^2)/(4*c)])/(2*q*Sqrt[a + b*x^2 + c
*x^4]), x]] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]

Rule 1706

Int[((A_) + (B_.)*(x_)^2)/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With[
{q = Rt[B/A, 2]}, -Simp[((B*d - A*e)*ArcTan[(Rt[-b + (c*d)/e + (a*e)/d, 2]*x)/Sqrt[a + b*x^2 + c*x^4]])/(2*d*e
*Rt[-b + (c*d)/e + (a*e)/d, 2]), x] + Simp[((B*d + A*e)*(A + B*x^2)*Sqrt[(A^2*(a + b*x^2 + c*x^4))/(a*(A + B*x
^2)^2)]*EllipticPi[Cancel[-((B*d - A*e)^2/(4*d*e*A*B))], 2*ArcTan[q*x], 1/2 - (b*A)/(4*a*B)])/(4*d*e*A*q*Sqrt[
a + b*x^2 + c*x^4]), x]] /; FreeQ[{a, b, c, d, e, A, B}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^
2, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a] && EqQ[c*A^2 - a*B^2, 0]

Rubi steps

\begin{align*} \int \frac{A+B x^2}{\left (d+e x^2\right )^2 \sqrt{a+b x^2+c x^4}} \, dx &=-\frac{e (B d-A e) x \sqrt{a+b x^2+c x^4}}{2 d \left (c d^2-b d e+a e^2\right ) \left (d+e x^2\right )}-\frac{\int \frac{-a B d e-A \left (2 c d^2-e (2 b d-a e)\right )-2 c d (B d-A e) x^2-c e (B d-A e) x^4}{\left (d+e x^2\right ) \sqrt{a+b x^2+c x^4}} \, dx}{2 d \left (c d^2-b d e+a e^2\right )}\\ &=-\frac{e (B d-A e) x \sqrt{a+b x^2+c x^4}}{2 d \left (c d^2-b d e+a e^2\right ) \left (d+e x^2\right )}-\frac{\int \frac{-\sqrt{a} c^{3/2} d e (B d-A e)+c e \left (-a B d e-A \left (2 c d^2-e (2 b d-a e)\right )\right )+\left (-2 c^2 d e (B d-A e)+c e (B d-A e) \left (c d-\sqrt{a} \sqrt{c} e\right )\right ) x^2}{\left (d+e x^2\right ) \sqrt{a+b x^2+c x^4}} \, dx}{2 c d e \left (c d^2-b d e+a e^2\right )}-\frac{\left (\sqrt{a} \sqrt{c} (B d-A e)\right ) \int \frac{1-\frac{\sqrt{c} x^2}{\sqrt{a}}}{\sqrt{a+b x^2+c x^4}} \, dx}{2 d \left (c d^2-b d e+a e^2\right )}\\ &=\frac{\sqrt{c} (B d-A e) x \sqrt{a+b x^2+c x^4}}{2 d \left (c d^2-b d e+a e^2\right ) \left (\sqrt{a}+\sqrt{c} x^2\right )}-\frac{e (B d-A e) x \sqrt{a+b x^2+c x^4}}{2 d \left (c d^2-b d e+a e^2\right ) \left (d+e x^2\right )}-\frac{\sqrt [4]{a} \sqrt [4]{c} (B d-A e) \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 d \left (c d^2-b d e+a e^2\right ) \sqrt{a+b x^2+c x^4}}+\frac{\left (A \sqrt{c}\right ) \int \frac{1}{\sqrt{a+b x^2+c x^4}} \, dx}{d \left (\sqrt{c} d-\sqrt{a} e\right )}+\frac{\left (\sqrt{a} \left (B \left (c d^3-a d e^2\right )-A e \left (3 c d^2-e (2 b d-a e)\right )\right )\right ) \int \frac{1+\frac{\sqrt{c} x^2}{\sqrt{a}}}{\left (d+e x^2\right ) \sqrt{a+b x^2+c x^4}} \, dx}{2 d \left (\sqrt{c} d-\sqrt{a} e\right ) \left (c d^2-b d e+a e^2\right )}\\ &=\frac{\sqrt{c} (B d-A e) x \sqrt{a+b x^2+c x^4}}{2 d \left (c d^2-b d e+a e^2\right ) \left (\sqrt{a}+\sqrt{c} x^2\right )}-\frac{e (B d-A e) x \sqrt{a+b x^2+c x^4}}{2 d \left (c d^2-b d e+a e^2\right ) \left (d+e x^2\right )}-\frac{\left (B \left (c d^3-a d e^2\right )-A e \left (3 c d^2-e (2 b d-a e)\right )\right ) \tan ^{-1}\left (\frac{\sqrt{c d^2-b d e+a e^2} x}{\sqrt{d} \sqrt{e} \sqrt{a+b x^2+c x^4}}\right )}{4 d^{3/2} \sqrt{e} \left (c d^2-b d e+a e^2\right )^{3/2}}-\frac{\sqrt [4]{a} \sqrt [4]{c} (B d-A e) \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 d \left (c d^2-b d e+a e^2\right ) \sqrt{a+b x^2+c x^4}}+\frac{A \sqrt [4]{c} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{2 \sqrt [4]{a} d \left (\sqrt{c} d-\sqrt{a} e\right ) \sqrt{a+b x^2+c x^4}}+\frac{\left (\sqrt{c} d+\sqrt{a} e\right ) \left (B \left (c d^3-a d e^2\right )-A e \left (3 c d^2-e (2 b d-a e)\right )\right ) \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+b x^2+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \Pi \left (-\frac{\left (\sqrt{c} d-\sqrt{a} e\right )^2}{4 \sqrt{a} \sqrt{c} d e};2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{4} \left (2-\frac{b}{\sqrt{a} \sqrt{c}}\right )\right )}{8 \sqrt [4]{a} \sqrt [4]{c} d^2 e \left (\sqrt{c} d-\sqrt{a} e\right ) \left (c d^2-b d e+a e^2\right ) \sqrt{a+b x^2+c x^4}}\\ \end{align*}

Mathematica [C]  time = 3.82199, size = 1853, normalized size = 2.37 \[ \text{result too large to display} \]

Antiderivative was successfully verified.

[In]

Integrate[(A + B*x^2)/((d + e*x^2)^2*Sqrt[a + b*x^2 + c*x^4]),x]

[Out]

((-I/8)*((-4*I)*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*d*e^2*(B*d - A*e)*x*(a + b*x^2 + c*x^4) + Sqrt[2]*B*(b - Sqrt[
b^2 - 4*a*c])*d^2*e*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^2)/(b - Sq
rt[b^2 - 4*a*c])]*(d + e*x^2)*(EllipticE[I*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 -
 4*a*c])/(b - Sqrt[b^2 - 4*a*c])] - EllipticF[I*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[
b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])]) + Sqrt[2]*A*(-b + Sqrt[b^2 - 4*a*c])*d*e^2*Sqrt[(b + Sqrt[b^2 - 4*a*c]
 + 2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*(d + e*x^2)*(EllipticE[I*ArcS
inh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])] - EllipticF[I
*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])]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Sqrt[2]*A*b
*d*e^2*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*
c])]*(d + e*x^2)*EllipticPi[((b + Sqrt[b^2 - 4*a*c])*e)/(2*c*d), I*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*
c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])] + 2*Sqrt[2]*a*B*d*e^2*Sqrt[(b + Sqrt[b^2 - 4*a*c] +
2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*(d + e*x^2)*EllipticPi[((b + Sqr
t[b^2 - 4*a*c])*e)/(2*c*d), I*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b -
 Sqrt[b^2 - 4*a*c])] + 2*Sqrt[2]*a*A*e^3*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[
1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*(d + e*x^2)*EllipticPi[((b + Sqrt[b^2 - 4*a*c])*e)/(2*c*d), I*ArcSinh[S
qrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])]))/(Sqrt[c/(b + Sqr
t[b^2 - 4*a*c])]*d*e*(c*d^3 + d*e*(-(b*d) + a*e))*(d + e*x^2)*Sqrt[a + b*x^2 + c*x^4])

________________________________________________________________________________________

Maple [B]  time = 0.027, size = 1495, normalized size = 1.9 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x^2+A)/(e*x^2+d)^2/(c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(1/2)*2^(1/2)/(((-4*a*c+b^2
)^(1/2)-b)/a)^(1/2))*c)+B/e/d*2^(1/2)/(1/a*(-4*a*c+b^2)^(1/2)-1/a*b)^(1/2)*(1-1/2/a*x^2*(-4*a*c+b^2)^(1/2)+1/2
/a*b*x^2)^(1/2)*(1+1/2/a*b*x^2+1/2/a*x^2*(-4*a*c+b^2)^(1/2))^(1/2)/(c*x^4+b*x^2+a)^(1/2)*EllipticPi(1/2*x*2^(1
/2)*(((-4*a*c+b^2)^(1/2)-b)/a)^(1/2),-2/((-4*a*c+b^2)^(1/2)-b)*a*e/d,(-1/2*(b+(-4*a*c+b^2)^(1/2))/a)^(1/2)*2^(
1/2)/(((-4*a*c+b^2)^(1/2)-b)/a)^(1/2))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x^{2} + A}{\sqrt{c x^{4} + b x^{2} + a}{\left (e x^{2} + d\right )}^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)/(e*x^2+d)^2/(c*x^4+b*x^2+a)^(1/2),x, algorithm="maxima")

[Out]

integrate((B*x^2 + A)/(sqrt(c*x^4 + b*x^2 + a)*(e*x^2 + d)^2), x)

________________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)/(e*x^2+d)^2/(c*x^4+b*x^2+a)^(1/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x^{2}}{\left (d + e x^{2}\right )^{2} \sqrt{a + b x^{2} + c x^{4}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x**2+A)/(e*x**2+d)**2/(c*x**4+b*x**2+a)**(1/2),x)

[Out]

Integral((A + B*x**2)/((d + e*x**2)**2*sqrt(a + b*x**2 + c*x**4)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x^{2} + A}{\sqrt{c x^{4} + b x^{2} + a}{\left (e x^{2} + d\right )}^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x^2+A)/(e*x^2+d)^2/(c*x^4+b*x^2+a)^(1/2),x, algorithm="giac")

[Out]

integrate((B*x^2 + A)/(sqrt(c*x^4 + b*x^2 + a)*(e*x^2 + d)^2), x)